﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace WebApplication1
{
    [DataContract]
    public class Story : BaseData, IGdiStoryData
    {
        private string _imageUri;
        [DataMember]
        public string ImageUrl
        {
            get
            {
                return _imageUri;
            }
            set
            {
                _imageUri = value;
                RaisePropertyChanged("ImageUrl");
            }
        }

        private string _headline;
        [DataMember]
        public string TitleNoFormatting
        {
            get
            {
                return _headline;
            }
            set
            {
                _headline = value;
                RaisePropertyChanged("TitleNoFormatting");
            }
        }

        private string _description;
        [DataMember]
        public string Content
        {
            get
            {
                return _description;
            }
            set
            {
                _description = value;
                RaisePropertyChanged("Content");
            }
        }

    }
}
